#include "guiterm.hpp"

GuitermConfig config =
	{
		1000,
		
		QFont(),

		QColor(178,178,178),
		QColor(255,255,255),
		QColor(30,30,30),
		
		{
			// ANSI colors
			QColor(0,0,0),
			QColor(205,0,0),
			QColor(0,205,0),
			QColor(178,103,23),
			// This next color entry is either dark yellow or brown, depending
			// who you ask. Dark yellow is more consistent, but it's also
			// butt-ugly, and there is no other brown in the palette, so that's
			// more widely used. This version is brown.
			QColor(23,23,178),   
			QColor(178,23,178),
			QColor(178,178,23),
			QColor(178,178,178),
			
			QColor(104,104,104),
			QColor(255,84,84),
			QColor(85,255,84),
			QColor(255,255,84),
			QColor(84,84,255),
			QColor(255,84,255),
			QColor(85,255,255),
			QColor(255,255,255),
		},
		QColor(178,178,178),
		QColor(0,0,0),
		QColor(255,255,255),
		QColor(0,0,0),
		QColor(255, 48, 48),
	};

void initConfig()
{
	QFont::insertSubstitution("Console", "Monospace");
	QFont::insertSubstitution("Console", "Courier");
	config.font = QFont("Console", 9);
}

